<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改病历管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-bl-edit" th:object="${ywBl}">
            <input name="blId" th:field="*{blId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">病历号：</label>
                <div class="col-sm-8">
                    <input name="blnumber" th:field="*{blnumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">用户ID：</label>
                <div class="col-sm-8">
                    <input name="yhId" th:field="*{yhId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">社区ID：</label>
                <div class="col-sm-8">
                    <input name="sqId" th:field="*{sqId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">病史ID：</label>
                <div class="col-sm-8">
                    <input name="bsId" th:field="*{bsId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">诊断记录ID：</label>
                <div class="col-sm-8">
                    <input name="zdjlId" th:field="*{zdjlId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">逻辑位：</label>
                <div class="col-sm-8">
                    <input name="mlogic" th:field="*{mlogic}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="mremarks" th:field="*{mremarks}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/bl";
        $("#form-bl-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-bl-edit').serialize());
            }
        }
    </script>
</body>
</html>